package com.foreverwin.jzymes.common.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import java.util.Date;

/**
 * EAP消息日志表 Z_EAP_LOG
 * 
 * @author ervin
 * @date 2019-05-15
 */
public class EapLog
{
	private static final long serialVersionUID = 1L;
	
	/** 主键 */
	private String handle;
	/** 站点 */
	private String site;
	/** MQ地址 */
	private String brokeUrl;
	/** 队列名称 */
	private String queueName;
	/** 消息内容 */
	private String messageBody;
	/** 处理结果 */
	private String result;
	/** 错误消息 */
	private String errorMsg;
	/** 服务器地址 */
	private String serverIp;
	/** 创建日期 */
	private Date createdDateTime;

	public void setHandle(String handle) 
	{
		this.handle = handle;
	}

	public String getHandle() 
	{
		return handle;
	}
	public void setSite(String site) 
	{
		this.site = site;
	}

	public String getSite() 
	{
		return site;
	}
	public void setBrokeUrl(String brokeUrl) 
	{
		this.brokeUrl = brokeUrl;
	}

	public String getBrokeUrl() 
	{
		return brokeUrl;
	}
	public void setQueueName(String queueName) 
	{
		this.queueName = queueName;
	}

	public String getQueueName() 
	{
		return queueName;
	}
	public void setMessageBody(String messageBody) 
	{
		this.messageBody = messageBody;
	}

	public String getMessageBody() 
	{
		return messageBody;
	}
	public void setResult(String result) 
	{
		this.result = result;
	}

	public String getResult() 
	{
		return result;
	}
	public void setErrorMsg(String errorMsg) 
	{
		this.errorMsg = errorMsg;
	}

	public String getErrorMsg() 
	{
		return errorMsg;
	}
	public void setServerIp(String serverIp) 
	{
		this.serverIp = serverIp;
	}

	public String getServerIp() 
	{
		return serverIp;
	}
	public void setCreatedDateTime(Date createdDateTime) 
	{
		this.createdDateTime = createdDateTime;
	}

	public Date getCreatedDateTime() 
	{
		return createdDateTime;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("handle", getHandle())
            .append("site", getSite())
            .append("brokeUrl", getBrokeUrl())
            .append("queueName", getQueueName())
            .append("messageBody", getMessageBody())
            .append("result", getResult())
            .append("errorMsg", getErrorMsg())
            .append("serverIp", getServerIp())
            .append("createdDateTime", getCreatedDateTime())
            .toString();
    }
}
